#pragma once

#include "stdafx.h"
#include "BaseEnum.h"

typedef Gdiplus::Point GpsPoint;
typedef Gdiplus::PointF GpsPointF;
typedef Gdiplus::Rect GpsRect;
typedef Gdiplus::RectF GpsRectF;
typedef Gdiplus::Size GpsSize;
typedef Gdiplus::SizeF GpsSizeF;
typedef Gdiplus::FontStyle GpsFontStyle;
typedef Gdiplus::Brush GpsBrush;
typedef Gdiplus::SolidBrush GpsSolidBrush;
typedef Gdiplus::Font GpsFont;
typedef Gdiplus::Image GpsImage;
typedef Gdiplus::StringFormat GpsStringFormat;
typedef Gdiplus::Graphics GpsGraphics;
typedef Gdiplus::Pen GpsPen;
typedef Gdiplus::CharacterRange GpsCharacterRange;
typedef Gdiplus::Region GpsRegion;
typedef Gdiplus::ImageAttributes GpsImageAttributes;
typedef Gdiplus::ColorMatrix GpsColorMatrix;

BOOL SaveImageToFile(HBITMAP hBitmap, LPCWSTR szFileName, ImageSaveFormat format);
